package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.Job;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.job.JobAddReqDTO;
import com.yixin.hospital.entity.dto.req.job.JobEditReqDTO;

import javax.validation.Valid;

/**
* @author 
* @description 针对表【job(职业表)】的数据库操作Service
* @createDate 2024-03-24 12:58:03
*/
public interface JobService extends IService<Job> {

    ApiResult treeList();

    ApiResult add(@Valid JobAddReqDTO jobAddReqDTO, String userName);

    ApiResult edit(@Valid JobEditReqDTO jobEditReqDTO, String userName);
}
